{template show_top}
<div class="flat">
    <div class="tabs clearfix">
  <ul>
    
<li <!--{if $ts=="base"}-->class="on"<!--{/if}-->><a href="{tsUrl('study','edit',array('studyid'=>$strStudy['studyid'],'ts'=>'base'))}">基本信息</a></li>

<li <!--{if $ts=="icon"}-->class="on"<!--{/if}-->><a href="{tsUrl('study','edit',array('studyid'=>$strStudy['studyid'],'ts'=>'icon'))}">课程图标</a></li>

<li <!--{if $ts=="type"}-->class="on"<!--{/if}-->><a href="{tsUrl('study','edit',array('studyid'=>$strStudy['studyid'],'ts'=>'type'))}">话题分类</a></li>

<li <!--{if $ts=="cate"}-->class="on"<!--{/if}-->><a href="{tsUrl('study','edit',array('studyid'=>$strStudy['studyid'],'ts'=>'cate'))}">课程分类</a></li>
 <li <!--{if $ts=="pub"}-->class="on"<!--{/if}-->><a href="{tsUrl('study','edit',array('studyid'=>$strStudy['studyid'],'ts'=>'pub'))}">申请发布</a></li>
     
    
  </ul>
</div>
<h2>修改课程分类</h2> 
<form  class="form course-form" method="post" action="{SITE_URL}index.php?app=study&ac=cate&ts=do">



 	<select name="bTrade" id="bTrade">
	{loop $arrCate $key $item}
	<option <!--{if $item['cateid']==$strStudy['recateid']}-->selected="select"<!--{/if}--> value="{$item['cateid']}">{$item['catename']}</option>
	{/loop}
    </select>
    
    
    <span id="quote">  
     <select name="sTrade">
    {loop $arrmyCate $key $item1}
	<option <!--{if $item1['cateid']==$strStudy['cateid']}-->selected="select"<!--{/if}--> value="{$item1['cateid']}">{$item1['catename']}</option>
	{/loop}
    </select>
    <script language="javascript">
    $("#bTrade").change(function(){
    $("#quote").load("{SITE_URL}index.php?app=study&ac=edit&ts=icate&studyid=$strStudy[studyid]&id="+$("#bTrade").val());
     });
    </script>
    </span>


<input type="hidden" name="studyid" value="{$strStudy['studyid']}" />

<button type="submit" class="btn btn-success">更改课程</button>
</form>
  </div>


</section>
{template footer}

